const tempPageData = {
  get(key) {
    return uni.getStorageSync(key || 'tempPageData')
  },
  set(obj, key) {
    uni.setStorageSync(key || 'tempPageData', obj)
  },
  clear() {
    uni.setStorageSync('tempPageData', null)
  },
}

export default tempPageData